#include "cGame.h"
#include <stdio.h>
CGame* CGame::s_pInstance = 0;
CGame::CGame(): m_isPaused(false), m_isAlived(true)
{
	s_pInstance = this;
}
void CGame::Run()
{
	while (m_isAlived)
	{
		if (m_isPaused)
		{
			printf("paused\n");
		}
		else
		{
			printf("running\n");
		}
	}
}
void CGame::Pause()
{
	m_isPaused = true;
}

void CGame::Resume()
{
	m_isPaused = false;
}
void CGame::Exit()
{
	m_isAlived = false;
}